package cn.ecut.dao;

import cn.ecut.model.Loudong;
import cn.ecut.model.Taofang;
import cn.ecut.model.Xiangmu;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface TaofangDao {
    int deleteByPrimaryKey(String taofangbianma);

    int insert(Taofang taofang);

    int insertSelective(Taofang record);

    Taofang selectByPrimaryKey(String taofangbianma);

    int updateByPrimaryKeySelective(Taofang record);

    int updateByPrimaryKey(Taofang taofang);

    List<Taofang> selectAll();

    int selectAllcount();

    Loudong selectLoudong(String loudongbianma);

    String selectThelast();

    int updateQiyong(Taofang taofang);

    List<Taofang> advanceSelect(String s);
}